package com.firebird.app.kotlin.stock.ui.login.contract

import com.firebird.app.kotlin.stock.base.BaseView
import com.firebird.app.kotlin.stock.data.LoginBean
import com.firebird.app.kotlin.stock.data.SimpleBean
import okhttp3.RequestBody
import retrofit2.Call


interface LoginContract {
    interface Model {
        fun getData(body: RequestBody?): Call<LoginBean?>?
    }

    interface View : BaseView {
        override fun showLoading()
        override fun hideLoading()
        override fun onError(throwable: Throwable?)
        fun onSuccess(bean: LoginBean?, token: String?)
    }

    interface Presenter {
        fun getData(body: RequestBody?)
    }
}